package com.qqtech.qquan.mall.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class MallProductSpec extends BaseDomain{

	//columns START
    /** 商品Id */
	private java.lang.Integer productId;
    /** 商品颜色(可为空) */
	private java.lang.String color;
    /** 商品颜色以外其他规格描述 */
	private java.lang.String specName;
    /** 库存量 */
	private java.lang.Integer stock;
    /** 销售价格 */
	private BigDecimal price;
    /** 市场价格（原价） */
	private BigDecimal marketPrice;
    /** 状态:1-正常;2-删除 */
	private java.lang.Integer status;
	/** 规格图片 */
	private java.lang.String img;
	//columns END
	public MallProductSpec(){
	}

	public MallProductSpec( java.lang.Integer id ){
		this.id = id;
	}

	public void setProductId(java.lang.Integer productId) {
		this.productId = productId;
	}

	public java.lang.Integer getProductId() {
		return this.productId;
	}
	
	public void setColor(java.lang.String color) {
		this.color = color;
	}

	public java.lang.String getColor() {
		return this.color;
	}
	
	public void setSpecName(java.lang.String specName) {
		this.specName = specName;
	}

	public java.lang.String getSpecName() {
		return this.specName;
	}
	
	public void setStock(java.lang.Integer stock) {
		this.stock = stock;
	}

	public java.lang.Integer getStock() {
		return this.stock;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPrice() {
		return this.price;
	}
	
	public void setMarketPrice(BigDecimal marketPrice) {
		this.marketPrice = marketPrice;
	}

	public BigDecimal getMarketPrice() {
		return this.marketPrice;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}

	public java.lang.String getImg() {
		return img;
	}

	public void setImg(java.lang.String img) {
		this.img = img;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

